package com.hdoit.apollo.logical.inStock.dao;

import java.util.List;

import com.hdoit.apollo.logical.inStock.model.InStock;
import com.hdoit.apollo.logical.viewmodel.stock.InStockSearch;
import com.tennetcn.data.dao.base.ISuperDao;
import com.tennetcn.data.message.PagerModel;

/**
 * @author      tancongzhu
 * @email       
 * @createtime  2018年04月02日 11:45:56
 * @comment
 */
public interface IInStockDao extends ISuperDao<InStock>{

	public InStock queryModelById(String key);

	public List<InStock> queryInStockHistoryListByKey(String key);

	public InStock queryModelByKey(String key);

	public int queryCountMPForReturn(InStockSearch search);

	public List<InStock> queryListMPForReturn(InStockSearch search,PagerModel pagerModel);

	public InStock queryModelBySee(String key);

	public boolean deleteInStockByKey(String inStockId);

}
